package com.emip.util.report.impl;

import com.emip.bean.Store;
import com.emip.util.report.Comput;

public class CommonComput extends Comput {

	private String result;
	private String label;
	private String name;
	
	public void setResult(String result) {
		this.result = result;
	}
	
	@Override
	protected void appendData(Store store) {
	}

	@Override
	public String getResult() {
		return result;
	}

	@Override
	public Comput newInstance() {
		CommonComput comput = new CommonComput();
		comput.setComputName(name);
		comput.setLabel(label);
		return comput;
	}

	@Override
	public String getLabel() {
		return label;
	}
	
	public void setLabel(String label) {
		this.label = label;
	}

	public void setComputName(String name) {
		this.name = name;
	}
	
	public String getComputName() {
		return name;
	}
}
